
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-tupian"></i>
                    <div class="name">图片</div>
                    <div class="fontclass">.icon-tupian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiaxingshoucang"></i>
                    <div class="name">加星收藏</div>
                    <div class="fontclass">.icon-jiaxingshoucang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-biaoqian"></i>
                    <div class="name">标签</div>
                    <div class="fontclass">.icon-biaoqian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shuaxin"></i>
                    <div class="name">刷新</div>
                    <div class="fontclass">.icon-shuaxin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-faxiantianchong"></i>
                    <div class="name">发现_填充</div>
                    <div class="fontclass">.icon-faxiantianchong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yanjing"></i>
                    <div class="name">眼睛</div>
                    <div class="fontclass">.icon-yanjing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guanbi"></i>
                    <div class="name">关闭</div>
                    <div class="fontclass">.icon-guanbi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tabshouqi"></i>
                    <div class="name">tab_收起</div>
                    <div class="fontclass">.icon-tabshouqi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shanchu"></i>
                    <div class="name">删除</div>
                    <div class="fontclass">.icon-shanchu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shengqian"></i>
                    <div class="name">省钱</div>
                    <div class="fontclass">.icon-shengqian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xitongfanhui"></i>
                    <div class="name">系统返回</div>
                    <div class="fontclass">.icon-xitongfanhui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tabshouqi1"></i>
                    <div class="name">tab_收起</div>
                    <div class="fontclass">.icon-tabshouqi1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tabxiala"></i>
                    <div class="name">tab_下拉</div>
                    <div class="fontclass">.icon-tabxiala</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zengjia"></i>
                    <div class="name">增加</div>
                    <div class="fontclass">.icon-zengjia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhuyi"></i>
                    <div class="name">注意</div>
                    <div class="fontclass">.icon-zhuyi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fanhui"></i>
                    <div class="name">返回</div>
                    <div class="fontclass">.icon-fanhui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jianpan"></i>
                    <div class="name">键盘</div>
                    <div class="fontclass">.icon-jianpan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kaiguan3"></i>
                    <div class="name">开关3</div>
                    <div class="fontclass">.icon-kaiguan3</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kaiguan4"></i>
                    <div class="name">开关4</div>
                    <div class="fontclass">.icon-kaiguan4</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yuyin"></i>
                    <div class="name">语音</div>
                    <div class="fontclass">.icon-yuyin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lipin"></i>
                    <div class="name">礼品</div>
                    <div class="fontclass">.icon-lipin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhongyaotishi"></i>
                    <div class="name">重要提示</div>
                    <div class="fontclass">.icon-zhongyaotishi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yonghu"></i>
                    <div class="name">用户</div>
                    <div class="fontclass">.icon-yonghu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kaiguan_guan"></i>
                    <div class="name">开关_关</div>
                    <div class="fontclass">.icon-kaiguan_guan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kaiguan_kai"></i>
                    <div class="name">开关_开</div>
                    <div class="fontclass">.icon-kaiguan_kai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huafeiquan"></i>
                    <div class="name">话费券</div>
                    <div class="fontclass">.icon-huafeiquan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shangjiantou"></i>
                    <div class="name">上箭头</div>
                    <div class="fontclass">.icon-shangjiantou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiajiantou"></i>
                    <div class="name">下箭头</div>
                    <div class="fontclass">.icon-xiajiantou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youjiantou"></i>
                    <div class="name">右箭头</div>
                    <div class="fontclass">.icon-youjiantou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiaoguanbi"></i>
                    <div class="name">小关闭</div>
                    <div class="fontclass">.icon-xiaoguanbi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zuojiantou"></i>
                    <div class="name">左箭头</div>
                    <div class="fontclass">.icon-zuojiantou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiaoxi"></i>
                    <div class="name">消息</div>
                    <div class="fontclass">.icon-xiaoxi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kaiguan"></i>
                    <div class="name">符号-开关</div>
                    <div class="fontclass">.icon-kaiguan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shangjiantou1"></i>
                    <div class="name">上箭头</div>
                    <div class="fontclass">.icon-shangjiantou1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiaoguanbi1"></i>
                    <div class="name">小关闭</div>
                    <div class="fontclass">.icon-xiaoguanbi1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youjiantou1"></i>
                    <div class="name">右箭头</div>
                    <div class="fontclass">.icon-youjiantou1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zuojiantou1"></i>
                    <div class="name">左箭头</div>
                    <div class="fontclass">.icon-zuojiantou1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kaiguan1"></i>
                    <div class="name">开关</div>
                    <div class="fontclass">.icon-kaiguan1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fenxiang"></i>
                    <div class="name">分享</div>
                    <div class="fontclass">.icon-fenxiang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fanhui1"></i>
                    <div class="name">返回</div>
                    <div class="fontclass">.icon-fanhui1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guanbi1"></i>
                    <div class="name">关闭</div>
                    <div class="fontclass">.icon-guanbi1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kefu"></i>
                    <div class="name">客服</div>
                    <div class="fontclass">.icon-kefu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiantoushang"></i>
                    <div class="name">箭头 上</div>
                    <div class="fontclass">.icon-jiantoushang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiantoushang1"></i>
                    <div class="name">箭头 上</div>
                    <div class="fontclass">.icon-jiantoushang1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiantouyou"></i>
                    <div class="name">箭头 右</div>
                    <div class="fontclass">.icon-jiantouyou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiantouxia"></i>
                    <div class="name">箭头 下</div>
                    <div class="fontclass">.icon-jiantouxia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wode"></i>
                    <div class="name">我的</div>
                    <div class="fontclass">.icon-wode</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shouye"></i>
                    <div class="name">首页</div>
                    <div class="fontclass">.icon-shouye</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiaoxi1"></i>
                    <div class="name">消息</div>
                    <div class="fontclass">.icon-xiaoxi1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sousuo"></i>
                    <div class="name">搜索</div>
                    <div class="fontclass">.icon-sousuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qiandao"></i>
                    <div class="name">签到</div>
                    <div class="fontclass">.icon-qiandao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yanchurili"></i>
                    <div class="name">演出日历</div>
                    <div class="fontclass">.icon-yanchurili</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-changyonggoupiaorenshanchu"></i>
                    <div class="name">删除</div>
                    <div class="fontclass">.icon-changyonggoupiaorenshanchu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icons-wenjian"></i>
                    <div class="name">文件</div>
                    <div class="fontclass">.icon-icons-wenjian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baguajing"></i>
                    <div class="name">八卦镜</div>
                    <div class="fontclass">.icon-baguajing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huangguan"></i>
                    <div class="name">皇冠</div>
                    <div class="fontclass">.icon-huangguan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jinggao"></i>
                    <div class="name">警告</div>
                    <div class="fontclass">.icon-jinggao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huangguan1"></i>
                    <div class="name">皇冠</div>
                    <div class="fontclass">.icon-huangguan1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhinengyuyin"></i>
                    <div class="name">智能语音</div>
                    <div class="fontclass">.icon-zhinengyuyin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiajiantou1"></i>
                    <div class="name">下箭头</div>
                    <div class="fontclass">.icon-xiajiantou1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shangjiantou2"></i>
                    <div class="name">上箭头</div>
                    <div class="fontclass">.icon-shangjiantou2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_loading"></i>
                    <div class="name">icon_loading</div>
                    <div class="fontclass">.icon-icon_loading</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bagua"></i>
                    <div class="name">八卦</div>
                    <div class="fontclass">.icon-bagua</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_yulan"></i>
                    <div class="name">icon_预览</div>
                    <div class="fontclass">.icon-icon_yulan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gongyezujian-kaiguan"></i>
                    <div class="name">工业组件-开关</div>
                    <div class="fontclass">.icon-gongyezujian-kaiguan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fangkuai"></i>
                    <div class="name">方块+</div>
                    <div class="fontclass">.icon-fangkuai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shuaxin1"></i>
                    <div class="name">刷新</div>
                    <div class="fontclass">.icon-shuaxin1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shezhi"></i>
                    <div class="name">设置</div>
                    <div class="fontclass">.icon-shezhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tishi"></i>
                    <div class="name">提示</div>
                    <div class="fontclass">.icon-tishi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kefu1"></i>
                    <div class="name">客服</div>
                    <div class="fontclass">.icon-kefu1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youhui"></i>
                    <div class="name">优惠</div>
                    <div class="fontclass">.icon-youhui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ditu-huan"></i>
                    <div class="name">地图-环</div>
                    <div class="fontclass">.icon-ditu-huan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ditu-xing"></i>
                    <div class="name">地图-星</div>
                    <div class="fontclass">.icon-ditu-xing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huiyuanhuangguanguanjun"></i>
                    <div class="name">174会员、皇冠、冠军</div>
                    <div class="fontclass">.icon-huiyuanhuangguanguanjun</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kaiguan2"></i>
                    <div class="name">开关</div>
                    <div class="fontclass">.icon-kaiguan2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wenjian"></i>
                    <div class="name">文件</div>
                    <div class="fontclass">.icon-wenjian</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
